//
// calc.hh for prog math in /home/druart_p/Work/math/my-math-epi/202
//
// Made by pierrick druart
// Login   <druart_p@epitech.net>
//
// Started on  Sun Mar 11 14:10:25 2012 pierrick druart
// Last update Mon Apr  2 13:52:53 2012 pierrick druart
//

#ifndef __CALC__
#define __CALC__

#include	<string>
#include	<sstream>
#include	<exception>

class Calc
{
public:
  Calc();
  ~Calc();
};

class my_exception_help : public std::exception
{
  std::string	msg;

public:
  my_exception_help()
  {
    std::ostringstream oss;
    oss << std::endl << "Usage : ./204param" << std::endl;
    oss << std::endl << "En sortie, les 5 esperances et variances des cinq lois." << std::endl;
    this->msg = oss.str();
  }
  virtual ~my_exception_help() throw() {}
  virtual const char * what() const throw()
  {
    return this->msg.c_str();
  }
};

#endif /* __CALC__ */
